package com.zkc.stume;

import org.mybatis.spring.annotation.MapperScan;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;

@SpringBootApplication
@MapperScan("com.zkc.stume.dao")/*@MapperScann注解指定扫描目录，这样避免了每一个Mapper类都要增加@Mapper注解的繁琐。*/
@EntityScan("com.zkc.stume.bean")
public class StumeApplication {
    public static void main(String[] args) {
        SpringApplication.run(StumeApplication.class, args);
    }
}
